/*
	nav
*/
.nav{
	position: relative;
	word-spacing: $w_space;
	border-bottom: solid 2px $bor_color;
	&>nav{
		display: inline-block;
		margin-bottom: -2px;
		&>a{
			@include animate();
			@include alink();
			display: inline-block;
			padding: 16px;
			border-bottom: solid 3px $tp_color;
			font-weight: bold;
			&:hover{
				border-bottom-color: $green;
				background-color: rgba($green,0.1);
			}
		}
	}
}
#nav-switch{
	display: none;
}
@media (max-width: 768px){
	.nav{
		position: fixed;
		top: 0;
		z-index: 999;
	}
	.nav>nav{
		display: none;
	}
	.nav>nav>a{
		display: block;
	}
	#nav-switch{
		display: block;
		font-size: 16px;
	}
}